<!DOCTYPE html>
<html lang="en">
  <head>
    <meta charset="UTF-8" />
    <meta name="viewport" content="width=device-width, initial-scale=1.0" />
    <title>Document</title>
  </head>
  <body>
    <script type="module">
      import { uname, add, Person, default as user } from "./m7.js";
      console.log(user);

      /* import user, { uname, add, Person } from "./m7.js";
      console.log(user, uname, add, Person); */

      /* import * as m7 from "./m7.js";
      console.log(m7.uname);
      console.log(m7.add);
      console.log(m7.Person);
      console.log(m7.default); //默认导出 */

      /* import { Person, username, add, PI } from "./m7.js";
      console.log(Person, username, add, PI); */

      /* import user from "./m7.js";
      console.log(user); */
    </script>
  </body>
</html>
